﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BTKERP.IBLL.Inventory;
using BTKERP.BLL.Inventory;
using BTKERP.Model;

namespace BTKERP.MVCWeb.Controllers
{
    public class HomeController : ControllerBase
    {
        public ActionResult Index()
        {
            ViewBag.Message = "Inventory Categories";
            List<Category> categories = InventoryInfoMgt.GetCategories();
            return View(categories);
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
